# -*- coding: utf-8 -*-

import threading
# from base.log import logger


# Threads = []

def to_threading(fun,arg=()):
	# global Threads
	t = threading.Thread(target=fun,args=arg)
	t.setDaemon(True)
	t.start()
	# Threads.append('%s' % (str(fun)))


